#ifndef CAMWHEELFORM_H
#define CAMWHEELFORM_H

#include <QWidget>

namespace Ui {
class CamWheelForm;
}

class CamWheelForm : public QWidget
{
    Q_OBJECT

public:
    explicit CamWheelForm(QWidget *parent = nullptr);
    ~CamWheelForm();
    void on_button_start_clicked();
    void on_button_stop_clicked();
    void updateWin();
protected:
    void showEvent(QShowEvent *event) override;

private:
    Ui::CamWheelForm *ui;
    bool runflage=false;
    int stepdeg=2;
    int TableStartPoint=10; //Table的起始位置
    int TableEndPoint=10+200-1; //Table的结束位置
    float setTableValue[1024];  //凸轮表数据
};

#endif // CAMWHEELFORM_H
